<?php

$images_url = base_url('images');
$main_url = base_url('main');
$verify_url = base_url('verify');

require_once "./lib/recaptcha/recaptchalib.php";
require "./lib/src/skey.php";
require "./lib/src/recaptchakey.php";


if(($uid != "") && ($uname != "") && ($lvl != ""))
{
	if($lvl == 1)
	{
		redirect(base_url('otakkanan'),'refresh');
		exit(0);
	}
	
	if($lvl == 2)
	{
		redirect(base_url('partner'),'refresh');
		exit(0);
	}
	
}


if(empty($pesan))
{
	$pesan = 'Masukan Email anda!';
}


$isipage = '
	<div id="login">
				
		<div class="space"></div>
		<div id="login2">
			<div class="title"><span style="margin-top:10px">Reset Password</span></div>
			<div id="login3">
				<form action="'.$verify_url.'/resendcode" method="post" >
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">
							<br />
							<h3 style="color:#cc0000">'.$pesan.'</h3>
							<br />
						</li>
					</ul>
					<ul>
						<li class="left">&nbsp; Email</li>
						<li class="right">
							<input name="email" type="email" placeholder="email" autocomplete="off" size="30" />
						</li>
					</ul>
					<ul>
						<li class="left"> &nbsp; </li>
						<li class="right"> &nbsp; </li>
					</ul>
					<ul>
						<li class="left">&nbsp; Captcha</li>
						<li class="right">'.recaptcha_get_html($publickey).'</li>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">&nbsp;</li>
					</ul>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">
							<input type="submit" name="kirim" value="KIRIM KODE AKTIVASI" />
						</li>
					</ul>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">&nbsp;</li>
					</ul>
					<ul>
						<li class="left">
							&nbsp; 
						</li>
						<li class="right">
						<a href="'.base_url('main/login.html').'" style="font-size:14px">Login</a> | 
						<a href="'.base_url('main/daftar.html').'" style="font-size:14px">Belum Daftar?</a>
						</li>
					</ul>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">&nbsp;</li>
					</ul>
				</form>
			</div>
		</div>
		

		<div class="space"></div>

	</div>
';

$data['isi_page'] = $isipage;
$data['site_title'] = 'Daftar - Dadan Network';
$data['base_url'] = base_url();
$data['tahun_sekarang'] = date("Y");

$data['other_head'] = '';

$this->parser->parse('template/login', $data);

/* End of file kirimkode.php */
/* Location: ./application/views/main/kirimkode.php */
